package example.delegate;

/**
 * 委派模式
 */
public class TestDispatcher {

    public static void main(String[] args) {
        Dispatcher dispatcher = new Dispatcher(new ExecutorA());
        dispatcher.doing();

    }
}
